package com.celesea;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author : hanang128
 * @Description:
 * @Date: Created in 14:06 2018-2-26
 * Modified By
 */
@Component
public class HelloServiceHystrix implements HelloService {
    @Override
    public String sayHi(@RequestParam("name") String name) {
        return "sorry " + name;
    }
}
